<?php
form_pr('SearchClient', '', '_response/call.php?get=Operative/pr_searchclient', 'post');
mn_field('hidden', 'ED', 'Trigger', 'Filters', '', '', '', '');
mn_field('hidden', 'ED', 'SYSMOD', $_SESSION[$SESAMD], '', '', '', '');
?>
<script charset="utf-8" type="text/javascript">
    window.onload = function() {document.getElementById('VALUE').focus();};</script>
<table width="100%"  border="0" cellpadding="1" cellspacing="3" bgcolor="#DCE4E4">
    <tr>
        <td valign="bottom">N. Cliente:
            <?php
            mn_field('text', 'ED', 'VALUE', '', '10', '8', 'False', '" onKeyDown="
	  	if(event.keyCode==13 || event.keyCode==9) {subform(\'SearchClient\',\'contents\');}');
            echo '</td><td valign="bottom">Contacto: ';
            mn_field('text', 'ED', 'CttPhone', '', '16', '12', 'False', '" onKeyDown="
	  	if(event.keyCode==13 || event.keyCode==9) {subform(\'SearchClient\',\'contents\');}');
            echo '</td><td valign="bottom">Documento: ';
            mn_field('text', 'ED', 'DocID', '', '16', '12', 'False', '" onKeyDown="
	  	if(event.keyCode==13 || event.keyCode==9) {subform(\'SearchClient\',\'contents\');}');
            echo '</td><td valign="bottom">Nome: ';
            mn_field('text', 'ED', 'Name', '', '100', '34', 'False', '" onKeyDown="
	  	if(event.keyCode==13 || event.keyCode==9) {subform(\'SearchClient\',\'contents\');}');
            echo '</td>
		<td width="300" valign="bottom">';
            mn_field('button', 'ED', 'Task', 'Pesquisa de Cliente', '12', '12', 'False', 'submit" onclick="subform(\'SearchClient\',\'contents\');');
            ?>
        </td>
    </tr>
</table>
</form>
<div id="contents"></div>